<?PHP 
$userid = isset($_COOKIE["gwt_userid"]) ? $_COOKIE["gwt_userid"] : "";
$zfb = isset($_COOKIE["gwt_zfb"]) ? $_COOKIE["gwt_zfb"] : "";
$phone = isset($_COOKIE["gwt_phone"]) ? $_COOKIE["gwt_phone"] : "";
$email = isset($_COOKIE["gwt_email"]) ? $_COOKIE["gwt_email"] : "";
?>

<?PHP
date_default_timezone_set("Asia/Chongqing");
include("../new/mall/common/connect.php");
include("../public/common.php");
$q = trim(CheckUrlParamNoDie("q"));
$catid = CheckUrlParamNoDie("catid");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name ="keywords" content="购物兔,购物兔返现网,购物兔省钱浏览器,聚划算返利,返现网,返利网,返利,淘宝网返利,商城返利,京东返利,淘宝网女装返利,淘宝网女鞋打折,淘宝网男装促销,淘宝网包包秒杀,淘宝化妆品赠送"/>
<meta name="Description" content="购物兔是国内最知名的购物省钱浏览器，返现最快，当天内直接到账，返现最安全，100%不漏单；无论您在淘宝网，还是京东、当当等其他商城购物，即使是促销价也能返现，实现折上再打折，真正省钱，是您网络购物省钱的首选！" />
<title>新建标签页</title>
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<link type="text/css" rel="stylesheet" href="../new/css/topss.css" />
<link type="text/css" rel="stylesheet" href="css/style.css" />
<script language="javascript" src="../new/js/jquery.min.js"></script>
<script language="javascript" src="../new/js/common.js"></script>
<script type="text/javascript" src="http://www.gouwutu.com/new/js/ScrollPic.js"></script>
</head>

<body>
<?php
include("../new/header.php");
?>
<div class="itemhead">
	<h1 id="logo_img"><a href="http://www.gouwutu.com"><img src="http://www.gouwutu.com/new/images/sslogo.gif" alt="购物兔，返现就这么简单" title="购物兔，返现就这么简单"></a></h1>
	<div id="m">
    <p id="nv">
    	<b>淘宝返利</b>
    	<a href="http://www.gouwutu.com/new/mall/">百家商城</a>
  	</p>
    <div id="fm">
    	<form target="_blank" onsubmit="return Adjust('kw')" method="get" action="http://www.gouwutu.com/new/s/">
        	<p class="gwt_ss"><input type="text" value="输入您想要的宝贝名称或网址~" onfocus="if(this.value=='输入您想要的宝贝名称或网址~'){this.value='';this.style.color = '#333';} this.select();" onblur="if(this.value==''){this.value='输入您想要的宝贝名称或网址~';this.style.color = '#BABABA';}" autocomplete="on" name="q" id="kw" maxlength="1024"></p>
            <p class="btn_wr"><input type="submit" value="" id="su" class="btn" onmousedown="" onmouseout=""></p>
            <input type="hidden" value="" id="id" name="id">
            <input type="hidden" value="" id="url" name="url">
     	</form>
  	</div>
    <a style="float: left; line-height: 51px;" target="_blank" href="http://www.gouwutu.com/faq/help_faq2_01.html">新手指南</a>
</div>
	<div id="show_date_div" class="date"></div>
</div>
<!-------------->
<div id="content">
	<div class="promo">
    	<div class="frame">
        	<div class="mall-ti"><h2>商城优惠活动</h2></div>
            <div id="bought_page" class="bought_cen">
                <div class="bought_LeftBotton" id="LeftArr">
                    <span title="Back" class="bought_cen_left">
                        <a href="javascript:;" id="_id_left">向左</a>
                    </span>
                </div>
                <div class="bought_cen_list" id="ISL_Cont_1">
                    <div>
                    <ul id="List1_1">
                    <?php
					$sql = "select * from gwt_tab_hd where stime<ntime and ntime>=now()";
					$result = mysql_query($sql);
					$i = 0;
					while( $result && $row = mysql_fetch_assoc($result))
					{
					?>
                    	<li><a href="<?php
						if(strstr($row["hdurl"],"linktech")){ echo str_replace('&u_id=','&u_id='.$userid,$row["hdurl"]);}else if(strstr($row["hdurl"],"yiqifa")){ echo str_replace('&e=','&e='.$userid,$row["hdurl"]);}else{ echo $row["hdurl"];}?>" target="_blank" title="<?php echo $row["hdtitle"]; ?>"><img src="http://www.gouwutu.com/tab/pic/<?php echo $row["hdpic"]; ?>" alt="<?php echo $row["hdtitle"]; ?>" /></a></li>
                    <?php
					}
					?>      
                    </ul>
                    </div>
                </div>
                <div class="bought_RightBotton" id="RightArr">
                    <span class="bought_cen_right">
                        <a title="Next" href="javascript:;" id="_id_right">向右</a>
                    </span>
                </div>
            </div>
            <!---->
<SCRIPT language=javascript type=text/javascript>
<!--//--><![CDATA[//><!--
var scrollPic_02 = new ScrollPic();
scrollPic_02.scrollContId   = "ISL_Cont_1"; //内容容器ID
scrollPic_02.arrLeftId      = "LeftArr";//左箭头ID
scrollPic_02.arrRightId     = "RightArr"; //右箭头ID

scrollPic_02.frameWidth     = 856;//显示框宽度
scrollPic_02.pageWidth      = 173; //翻页宽度

scrollPic_02.speed          = 10; //移动速度(单位毫秒，越小越快)
scrollPic_02.space          = 20; //每次移动像素(单位px，越大越快)
scrollPic_02.autoPlay       = true; //自动播放
scrollPic_02.autoPlayTime   = 5; //自动播放间隔时间(秒)
scrollPic_02.initialize(); //初始化
					
//--><!]]>
</SCRIPT>
        </div>
    </div>
    <div class="overlay" style="padding-bottom:50px;">
   		<iframe src="malllist.php" width="990" height="320" allowTransparency="true" scrolling="no" frameborder="0"></iframe>
    </div>
</div>
<div class="bottoms">
	<div class="botm-notice">
    	<div class="massg">
<script language="javascript">
var marqueeContent=new Array();   //滚动主题
 <?php
$sql = "select * from gwt_tab_msg where time<ntime and ntime>=now()";
$result = mysql_query($sql);
$i = -1;
while( $result && $row = mysql_fetch_assoc($result))
{
	$i++;
?>          	
marqueeContent[<?php echo $i; ?>]='<a href="<?php echo $row["msgurl"]; ?>" target="_blank" title="<?php echo $row["msgtitle"]; ?>">+ <?php echo $row["msgtitle"]; ?></a>';
<?php
}
?>

var marqueeInterval=new Array();  //定义一些常用而且要经常用到的变量
var marqueeId=0;
var marqueeDelay=4000;
var marqueeHeight=15;
function initMarquee() {
 var str=marqueeContent[0];
 document.write('<div id="marqueeBox" style="overflow:hidden;height:'+marqueeHeight+'px" onmouseover="clearInterval(marqueeInterval[0])" onmouseout="marqueeInterval[0]=setInterval(\'startMarquee()\',marqueeDelay)"><div>'+str+'</div></div>');
 marqueeId++;
 marqueeInterval[0]=setInterval("startMarquee()",marqueeDelay);
 }
function startMarquee() {
 var str=marqueeContent[marqueeId];
 var marqueeBox=document.getElementById("marqueeBox");
  marqueeId++;
 if(marqueeId>=marqueeContent.length) marqueeId=0;
 if(marqueeBox.childNodes.length==1) {
  var nextLine=document.createElement('DIV');
  nextLine.innerHTML=str;
  marqueeBox.appendChild(nextLine);
  }
 else {
  marqueeBox.childNodes[0].innerHTML=str;
  marqueeBox.appendChild(marqueeBox.childNodes[0]);
  marqueeBox.scrollTop=0;
  }
 clearInterval(marqueeInterval[1]);
 marqueeInterval[1]=setInterval("scrollMarquee()",10);
 }
function scrollMarquee() {
	var marqueeBox=document.getElementById("marqueeBox");
	marqueeBox.scrollTop++;
	if(marqueeBox.scrollTop%marqueeHeight==marqueeHeight)
	{
		clearInterval(marqueeInterval[1]);
	}
}
initMarquee();
</script>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-20984072-1");
pageTracker._trackPageview();
} catch(err) {}</script>

<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F7eb75a7b189f4a709dead85bc20eb0dd' type='text/javascript'%3E%3C/script%3E"));
</script>